﻿using MyCode.Project.Domain.Message.Response.CouponActivity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.CouponActivity
{
     public class GetCouponActivityDetail
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid shopId { get; set; }

        /// <summary>
        /// 活动主键ID 
        /// </summary>
        public Guid id { get; set; } 
    }

    public class CouponActivityJoinAct
    {
        /// <summary>
        /// 活动ID
        /// </summary>
        public Guid CouponActivityID { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopID { get; set; }

        ///// <summary>
        ///// 优惠券列表
        ///// </summary>
        //public List<CouponList> CouponLists { get; set; }
    }

    public class MemberGetCouponListAct
    {

        /// <summary>        
        /// 事件类型  1=登录事件、2=评价、3=生日、4=到店任意消费、5=累计消费、6=一次性消费 7=注册 ,8=扫码领取  9=会员升级  11=优惠券活动自动发放 21=需要点击才能领取的的扫码领取
        /// </summary>           
        public int? TriggerEvent { get; set; }

        /// <summary>
        /// 优惠券活动ID
        /// </summary>
        public Guid CouponActivityId { get; set; }

        /// <summary>
        /// 领取优惠券的店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 优惠券所属加盟商ID
        /// </summary>
        public Guid? CustomerId { get; set; }

        /// <summary>
        /// 领取优惠券的会员ID
        /// </summary>
        public Guid MemberId { get; set; }

        /// <summary>
        /// 来源加盟商ID
        /// </summary>
        public Guid? FromCustomerId { get; set; }

        /// <summary>
        /// 来源店员ID
        /// </summary>
        public Guid? FromClerkId { get; set; }

        /// <summary>
        /// 来源会员ID
        /// </summary>
        public Guid? FromMemberId { get; set; }

        /// <summary>
        /// 分享来源类型 0：加盟商 1：店员 2：会员 3:自主领取
        /// </summary>
        public int? SourceType { get; set; }

        /// <summary>
        /// 提前知道的优惠券ID
        /// </summary>
        public List<Guid> CouponIds { get; set; }

        /// <summary>
        /// 到账类型  0=直接到账 -1=要点领取按钮
        /// </summary>

        public int AddType { get; set; }

       
    }


}
